package com.ybkj.daijia.server.news;

import java.io.Serializable;


public class NoticeNews implements Serializable {

    /**
     * 服务类型
     */
    public static final String SERVICE_PAOTUI = "paotui"; // 跑腿
    public static final String SERVICE_DAIJIA = "daijia"; // 代驾
    public static final String SERVICE_ZHUANCHE = "zhuache"; // 专车
    public static final String SERVICE_HUOYUN = "huoyun"; // 货运
    public static final String SERVICE_CHENGJIZHUANXIAN = "chengjizhuanxian"; // 城际专线
    public static final String SERVICE_ZUCHE = "zuche"; // 租车
    public static final String SERVICE_JIAYOUZHAN = "jiayouzhan"; // 加油站
    /**
     * 终端类型
     */
    public static final String WECHAT = "wechat"; // 微信公众号
    public static final String APP = "app"; // app(安卓/IOS)
    private static final long serialVersionUID = 1L;
    private Long id;
    /**
     * 创建时间.
     */
    private Long created;

    /**
     * 修改时间.
     */
    private Long updated;

    /**
     * 修改版本号.
     */
    private Integer version;

    /**
     * 新闻标题
     */
    private String title;

    /**
     * 作者
     */
    private String author;

    /**
     * 新闻导图
     */
    private String image;

    /**
     * 新闻内容
     */
    private String content;

    /**
     * 新闻状态
     */
    private int status;

    /**
     * 系统key
     */
    private String appkey;

    /**
     * 服务类型(跑腿/专车/租车...)
     */
    private String serviceType;

    /**
     * 终端/容器/控制类型(如微信公众号/安卓APP/IOSAPP)
     */
    private String contType;

    /**
     * 新闻链接
     */
    private String link;

    /**
     * 为谁添加，这是公司ID
     */
    private Long companyId;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getCreated() {
        return created;
    }

    public void setCreated(Long created) {
        this.created = created;
    }

    public Long getUpdated() {
        return updated;
    }

    public void setUpdated(Long updated) {
        this.updated = updated;
    }

    public Integer getVersion() {
        return version;
    }

    public void setVersion(Integer version) {
        this.version = version;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getAuthor() {
        return author;
    }

    public void setAuthor(String author) {
        this.author = author;
    }

    public String getImage() {
        return image;
    }

    public void setImage(String image) {
        this.image = image;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public String getAppkey() {
        return appkey;
    }

    public void setAppkey(String appkey) {
        this.appkey = appkey;
    }

    public String getServiceType() {
        return serviceType;
    }

    public void setServiceType(String serviceType) {
        this.serviceType = serviceType;
    }

    public String getContType() {
        return contType;
    }

    public void setContType(String contType) {
        this.contType = contType;
    }

    public String getLink() {
        return link;
    }

    public void setLink(String link) {
        this.link = link;
    }

    public Long getCompanyId() {
        return companyId;
    }

    public void setCompanyId(Long companyId) {
        this.companyId = companyId;
    }

    @Override
    public String toString() {
        return "NoticeNews [id=" + id + ", created=" + created + ", updated=" + updated
            + ", version="
            + version + ", title=" + title + ", author=" + author + ", image=" + image
            + ", content="
            + content + ", status=" + status + ", appkey=" + appkey + "]";
    }


}
